///
/// \file    : GraphicsControl.cpp
/// \version : 1.0
/// \date    : 30/05/2012
/// \author  : grupo linker
///
#include "GraphicsControl.h"

namespace varayoc
{

namespace gui
{

namespace externalpanels
{

namespace linkerpanels
{

namespace graphicspanels
{

GraphicsControl::GraphicsControl()
{
   this->setName("GraphicsControl");   // ?
   m_indexGraphicsPanel = new IndexGraphicsPanel();
   m_mageEmissionPanel  = new MageEmissionPanel();

   this->addPanel(m_indexGraphicsPanel);
   this->addPanel(m_mageEmissionPanel);

   this->setStacked();
   this->setAsLastVisited();           // ?

//   connect(m_indexGraphicsPanel->getMageEmissionsButton(), SIGNAL(clicked()), this, SLOT(goToMageEmissionPanelSlot()));
}

GraphicsControl::~GraphicsControl()
{
}

void GraphicsControl::goToMageEmissionPanelSlot()
{
   qDebug() << "goToMageEmissionPanelSlot ini";
   this->showStackedPanel(1);
   qDebug() << "goToMageEmissionPanelSlot fin";
}

}}}}}
